package school.mapper;

import org.apache.ibatis.annotations.Param;
import school.domain.User;

import java.util.List;

public interface UserMapper {

    User login(@Param("username") String username, @Param("password") String password);

    void register(@Param("username") String username, @Param("password") String password);

    List<User> selectList(User user);

    void delById(Integer id);
}
